/*
 * @Author: Cenven
 * @Date: 2021-02-26 15:18:45
 * @Description: 北京泓深教育发展有限公司
 * @Descripttion:
 * @version: @Lastest
 * @LastEditTime: 2021-03-26 18:01:38
 * @CopyRight: 北京泓深教育发展有限公司
 */
import http from "~/utils/http";
export const getChapter = data => {
  return http({
    url: "video/list",
    method: "post",
    data
  });
};
export const getVideoLastTime = data => {
  return http({
    url: "client/record/lastStudy",
    method: "post",
    data
  });
};
export const getLastStudyList = data => {
  return http({
    url: "lastStudy/list",
    method: "post",
    data
  });
};
/* PrivateMapKey 权限票据 */
export const getTrtcSign = data => {
  return http({
    url: "web/rtcInfo/genPrivateMapKey",
    method: "post",
    data
  });
};
/*  UserSig 鉴权票据 */
export const getTrtcUserSign = data => {
  return http({
    url: "web/rtcInfo/genUserSig",
    method: "post",
    data
  });
};
